import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

import request from "request.js"
uni.setStorageSync("baseUrl", "http://124.93.196.45:10001/")
Vue.prototype.baseUrl = uni.getStorageSync("baseUrl")
Vue.prototype.get = request.get
Vue.prototype.post = request.post
Vue.prototype.put = request.put
Vue.prototype.$request = request
Vue.prototype.isEmpty = request.isEmpty
Vue.prototype.$toService = request.toService


const app = new Vue({
	...App
})
app.$mount()
